package com.hzjy.api.service.impl;

import com.hzjy.api.mapper.ApiProductMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class IndexServiceImpl {

    private static final Logger log = LoggerFactory.getLogger(IndexServiceImpl.class);

    @Autowired
    private ApiProductMapper apiProductMapper;

    /**
     * 挂牌数，摘牌数
     * @return
     */
    public Map<String, Integer> TradeDelistNum() {
        Map<String, Integer> map = apiProductMapper.TradeDelistNum();
        return map;
    }
}
